/*
 *  TileField.h
 *  powaah
 *
 *  Created by Tim Uusitalo on 4/20/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef TILE_FIELD_H

#define TILE_FIELD_H

#include "Tile.h"
#include "StdInclude.cpp"

class TileField
{
public:
	TileField(const int tile_size, const Vector2& dimensions);
	~TileField();
	
	void insertCharge(const float charge, const Vector2& pos, const Vector2& dim);
	
	
private:
	Tile& getTile(const float x, const float y);
private:
	float tile_size;
	Vector2 dimensions;
	std::vector<Tile> tiles;
};


#endif